<!DOCTYPE html>
<html lang="en" style="height: 100%;">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <script src="https://unpkg.com/vue@3.0.5/dist/vue.global.js"></script> -->
    <script src="https://unpkg.com/vue@next"></script>
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css" />
    <script src="https://unpkg.com/element-plus"></script>
    <script src="//unpkg.com/element-plus/dist/locale/zh-cn"></script>
    <title>只有功能展示，没有美化</title>
</head>
<body style="height: 100%;">
    <div id="newsAddPage">
        <!-- <div class="top">
            <div class="Logo">
                <span>BlogSystem</span>
            </div>
            <div class="top-menu">
                <ul>
                    <li>首頁</li>
                    <li>收藏本站</li>
                    <li></li>
                    <li></li>
                </ul>
            </div>
            <div class="Login-pad">
                <div v-if="userInfo == null">
                    <label>
                        <span>用戶名: </span>
                        <input type="userName" v-model="userName" id="">
                    </label>
                    <label>
                        <span>密碼: </span>
                        <input type="password" v-model="password" id="">
                    </label>
                    <button @click="onLogin">登录</button>
                    </div>
                    <div v-else>
                        <span>用户：{{userInfo.username}}</span>
                        
                        <button @click="onLoginout">注销</button>
                </div>
            </div>
        </div> -->
        <div class="center">
            <div class="center-left">
            </div>
                <div class="center-right">
                    <div class="nav">
                        <a href="">首頁</a>
                        ->
                        <a href="">文章查看</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="bottom"></div>
    </div>
</body>

<script>
    const {createApp, ref, onMounted } = Vue;
    const {ElMessage, ElMessageBox } = ElementPlus;
    const token = ref();
    function getToken()
    {
        token.value = localStorage["token"]
    }

    const app = createApp({
            setup() {                
                
            }
        }
    )
    app.use(ElementPlus, {
    locale: ElementPlusLocaleZhCn,
    })
    app.mount("#newsAddPage")
</script>

<style>
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    #newsAddPage .center {
        display: flex;
        height: 100%;
    }
    #newsAddPage .center .center-left {
        height: 100%;
        width: 350px;
        border-right: 1px solid #eee;
    }
    #newsAddPage .center .center-right {
        flex: 1;
    }
    #newsAddPage .center .center-right .nav {
        background-color: #eee;
        height: 30px;
        width: 100%;
        line-height: 30px;
        padding-left: 10px;
    }  
</style>
</html>